﻿using ConfExpert.Forms.Base;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraGrid.Columns;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class BenzerDesen : XForm
    {
        public BenzerDesen(string ProductIds)
        {
           
            InitializeComponent();

            gridView1.Init("GetBenzer2", ProductIds, false);

            GridColumn colPhoto = gridView1.Columns["Photo"];
            colPhoto.ColumnEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
            (colPhoto.ColumnEdit as RepositoryItemPictureEdit).SizeMode = PictureSizeMode.Clip;
            (colPhoto.ColumnEdit as RepositoryItemPictureEdit).NullText = " ";

            gridView1.BestFitColumns();

        }

        private void BenzerDesen_Load(object sender, EventArgs e)
        {
            
            
        }
    }
}
